import request from '@/utils/request'

// 查询报设置列表
export function listDispatchReportFormsConfig(query) {
  return request({
    url: '/system/dispatchReportFormsConfig/list',
    method: 'get',
    params: query
  })
}

// 查询报设置详细
export function getDispatchReportFormsConfig(reportFormsConfigId) {
  return request({
    url: '/system/dispatchReportFormsConfig/' + reportFormsConfigId,
    method: 'get'
  })
}

// 新增报设置
export function addDispatchReportFormsConfig(data) {
  return request({
    url: '/system/dispatchReportFormsConfig',
    method: 'post',
    data: data
  })
}

// 修改报设置
export function updateDispatchReportFormsConfig(data) {
  return request({
    url: '/system/dispatchReportFormsConfig',
    method: 'put',
    data: data
  })
}

// 删除报设置
export function delDispatchReportFormsConfig(reportFormsConfigId) {
  return request({
    url: '/system/dispatchReportFormsConfig/' + reportFormsConfigId,
    method: 'delete'
  })
}
